#ifndef __FINITE_ELEMENTS__
#define __FINITE_ELEMENTS__

#include "trianglemesh.h"
#include "mesh.h"

SparseMatrix CotangentWeights(STriangleMesh& tm, const std::string& attribute);
SparseMatrix MeanValueWeights(STriangleMesh& tm, const std::string& attribute);
SparseMatrix StiffnessMatrix(Mesh& mesh, const std::string& attribute, const bool triangular);
SparseMatrix MassMatrix(Mesh& mesh, const std::string& attribute, const bool triangular, const bool lumped);

#endif //__FINITE_ELEMENTS__
